{
    {
        NSDictionary *FolioPhotos_Lab_1 = [[NSDictionary alloc] init];
        if([FolioPhotos_Lab_1 isKindOfClass:[NSArray class]]) {
            FolioPhotos_View *FolioPhotos_ContentView = [[FolioPhotos_View alloc] init];
            FolioPhotos_Label *FolioPhotos_LabTitle = [[FolioPhotos_Label alloc] init];
            FolioPhotos_LabTitle.font = [UIFont FolioPhotos_FontSizeVerdana:18 fontEnum:FolioPhotos_Font_Verdana_Bold];
            FolioPhotos_LabTitle.textColor = [UIColor FolioPhotos_colorWithARGBString:@"#FF559C" alpha:1];
            FolioPhotos_LabTitle.text = [@"FolioPhotos[Me]FolioPhotos" FolioPhotos_stringByRemove];
            [FolioPhotos_ContentView addSubview:FolioPhotos_LabTitle];
            [FolioPhotos_LabTitle FolioPhotos_remakeConstraints:^(FolioPhotos_ConstraintMaker *make) {
                make.leading.FolioPhotos_equalTo(20);
                make.centerY.FolioPhotos_equalTo(0);
                make.height.FolioPhotos_equalTo(35);
            }];
            
            FolioPhotos_ImageView *FolioPhotos_imgv_edit = [[FolioPhotos_ImageView alloc] init];
            FolioPhotos_imgv_edit.image = [UIImage FolioPhotos_imageCustomWithName:@"FolioPhotos_img_mine_editing"];
            [FolioPhotos_ContentView addSubview:FolioPhotos_imgv_edit];
            [FolioPhotos_imgv_edit FolioPhotos_remakeConstraints:^(FolioPhotos_ConstraintMaker *make) {
                make.trailing.FolioPhotos_equalTo(-15);
                make.centerY.FolioPhotos_equalTo(0);
                make.height.width.FolioPhotos_equalTo(26);
            }];
            [FolioPhotos_imgv_edit FolioPhotos_AddClickHandle:^{
               // edit
            }];
        }
    }
}


{
    {
        NSNumber *FolioPhotos_Lab_1 = [[NSNumber alloc] init];
        if([FolioPhotos_Lab_1 isKindOfClass:[NSDictionary class]]) {
            CALayer *layer = [CALayer layer];
            CGSize size = CGSizeMake(100, 100);
            UIColor *tintColor = [UIColor redColor];
            
            NSTimeInterval beginTime = CACurrentMediaTime();
            CGFloat circleSize = size.width * 0.92f;
            CGFloat oX = (layer.bounds.size.width - size.width) / 2.0f;
            CGFloat oY = (layer.bounds.size.height - circleSize) / 2.0f;
            for (int i = 0; i < 2; i++) {
                CALayer *circle = [CALayer layer];
                CGFloat offset = circleSize / 2.0f * i;
                circle.frame = CGRectMake((offset + size.width - circleSize) * i + oX, oY, circleSize, circleSize);
                circle.cornerRadius = circle.bounds.size.height / 2.0f;
                circle.anchorPoint = CGPointMake(0.5f, 0.5f);
                circle.transform = CATransform3DMakeScale(0.0f, 0.0f, 0.0f);
                circle.backgroundColor = tintColor.CGColor;
                                
                CAKeyframeAnimation *transformAnimation = [CAKeyframeAnimation animationWithKeyPath:@"transform"];
                transformAnimation.removedOnCompletion = NO;
                transformAnimation.repeatCount = HUGE_VALF;
                transformAnimation.duration = 1.8f;
                transformAnimation.beginTime = beginTime - (transformAnimation.duration / 2.0f * i);
                transformAnimation.keyTimes = @[@(0.0), @(0.5), @(1.0)];
                
                transformAnimation.timingFunctions = @[[CAMediaTimingFunction functionWithName:kCAMediaTimingFunctionEaseInEaseOut],
                                                       [CAMediaTimingFunction functionWithName:kCAMediaTimingFunctionEaseInEaseOut],
                                                       [CAMediaTimingFunction functionWithName:kCAMediaTimingFunctionEaseInEaseOut]];
                
                transformAnimation.values = @[[NSValue valueWithCATransform3D:CATransform3DMakeScale(0.0f, 0.0f, 0.0f)],
                                              [NSValue valueWithCATransform3D:CATransform3DMakeScale(1.0f, 1.0f, 0.0f)],
                                              [NSValue valueWithCATransform3D:CATransform3DMakeScale(0.0f, 0.0f, 0.0f)]];
                
                [layer addSublayer:circle];
                [circle addAnimation:transformAnimation forKey:@"animation"];
            }
        }
    }
}


{
    {
        NSArray *FolioPhotos_Lab_1 = [[NSArray alloc] init];
        if([FolioPhotos_Lab_1 isKindOfClass:[UITableViewCell class]]) {
            CALayer *layer = [CALayer layer];
            CGSize size = CGSizeMake(100, 100);
            UIColor *tintColor = [UIColor redColor];
            NSTimeInterval beginTime = CACurrentMediaTime();
            
            CGFloat circleSize = size.width / 5.0f;
            CGFloat oX = (layer.bounds.size.width - circleSize * 5) / 2.0f;
            CGFloat oY = (layer.bounds.size.height - circleSize) / 2.0f;
            for (int i = 0; i < 3; i++) {
                CALayer *circle = [CALayer layer];
                circle.frame = CGRectMake(oX + circleSize * 2 * i, oY, circleSize, circleSize);
                circle.backgroundColor = tintColor.CGColor;
                circle.anchorPoint = CGPointMake(0.5f, 0.5f);
                circle.opacity = 1.0f;
                circle.cornerRadius = circle.bounds.size.height / 2.0f;
                
                CATransform3D t1 = CATransform3DMakeTranslation(0.0f, 0.0f, 0.0f);
                t1 = CATransform3DScale(t1, 1.0f, 1.0f, 0.0f);
                
                CATransform3D t2 = CATransform3DMakeTranslation(0.0f, -2 * circleSize, 0.0f);
                t2 = CATransform3DScale(t2, 1.0f, 1.0f, 0.0f);
                
                CATransform3D t3 = CATransform3DMakeTranslation(0.0f, 0.0f, 0.0f);
                t3 = CATransform3DScale(t3, 0.3f, 0.3f, 0.0f);
                
                CATransform3D t4 = CATransform3DMakeTranslation(0.0f, 2 * circleSize, 0.0f);
                t4 = CATransform3DScale(t4, 1.0f, 1.0f, 0.0f);
                
                CATransform3D t5 = CATransform3DMakeTranslation(0.0f, 0.0f, 0.0f);
                t5 = CATransform3DScale(t5, 1.f, 1.0f, 0.0f);
                
                CAKeyframeAnimation *transformAnimation = [CAKeyframeAnimation animationWithKeyPath:@"transform"];
                transformAnimation.removedOnCompletion = NO;
                transformAnimation.values = @[[NSValue valueWithCATransform3D:t1],
                                              [NSValue valueWithCATransform3D:t2],
                                              [NSValue valueWithCATransform3D:t3],
                                              [NSValue valueWithCATransform3D:t4],
                                              [NSValue valueWithCATransform3D:t5]];
                transformAnimation.beginTime = beginTime;
                transformAnimation.repeatCount = HUGE_VALF;
                transformAnimation.duration = 1.0f;
                transformAnimation.timingFunction = [CAMediaTimingFunction functionWithName:kCAMediaTimingFunctionLinear];
                
                [layer addSublayer:circle];
                [circle addAnimation:transformAnimation forKey:@"animation"];
            }
            
            for (int i = 0; i < 2; i++) {
                CALayer *circle = [CALayer layer];
                circle.frame = CGRectMake((layer.bounds.size.width - circleSize * 5) / 2.0f + circleSize + circleSize * 2 * i, (layer.bounds.size.height - circleSize) / 2.0f, circleSize, circleSize);
                circle.backgroundColor = tintColor.CGColor;
                circle.anchorPoint = CGPointMake(0.5f, 0.5f);
                circle.opacity = 1.0f;
                circle.cornerRadius = circle.bounds.size.height / 2.0f;
                
                CATransform3D t1 = CATransform3DMakeTranslation(0.0f, 0.0f, 0.0f);
                t1 = CATransform3DScale(t1, 0.3f, 0.3f, 0.0f);
                
                CATransform3D t2 = CATransform3DMakeTranslation(0.0f, 2 * circleSize, 0.0f);
                t2 = CATransform3DScale(t2, 1.0f, 1.0f, 0.0f);
                
                CATransform3D t3 = CATransform3DMakeTranslation(0.0f, -2 * circleSize, 0.0f);
                t3 = CATransform3DScale(t3, 1.f, 1.0f, 0.0f);
                
                CATransform3D t4 = CATransform3DMakeTranslation(0.0f, 0.0f, 0.0f);
                t4 = CATransform3DScale(t4, 0.3f, 0.3f, 0.0f);
                
                CAKeyframeAnimation *transformAnimation = [CAKeyframeAnimation animationWithKeyPath:@"transform"];
                transformAnimation.removedOnCompletion = NO;
                transformAnimation.values = @[[NSValue valueWithCATransform3D:t1],
                                              [NSValue valueWithCATransform3D:t2],
                                              [NSValue valueWithCATransform3D:t3],
                                              [NSValue valueWithCATransform3D:t4]];
                transformAnimation.keyTimes = @[@(0.0f), @(0.25f), @(0.75f), @(1.0f)];
                transformAnimation.beginTime = beginTime;
                transformAnimation.repeatCount = HUGE_VALF;
                transformAnimation.duration = 1.0f;
                transformAnimation.timingFunction = [CAMediaTimingFunction functionWithName:kCAMediaTimingFunctionLinear];
                
                [layer addSublayer:circle];
                [circle addAnimation:transformAnimation forKey:@"animation"];
            }
        }
    }
}
